//package com.plian.system.wrapper.fr.cluemanagement;
//
//import com.plian.system.dto.fr.cluemanagement.ClueCollectDTO;
//import com.plian.system.entity.fr.cluemanagement.ClueCollect;
//import com.plian.system.mybatis.support.BaseWrapper;
//import com.plian.system.vo.fr.cluemanagement.ClueCollectVO;
//import com.plian.system.wrapper.util.CacheWrapperUtil;
//import com.plian.system.wrapper.util.WrapperUtil;
//import org.mapstruct.Mapper;
//import org.mapstruct.Mapping;
//import org.mapstruct.Mappings;
//
//import static com.plian.system.wrapper.util.WrapperConstant.*;
//
///**
// * 包装类,返回视图层所需的字段Wrapper
// *
// * @author BladeX
// * @since 2019-12-03
// */
//@Mapper(componentModel = SPRING, uses = {CacheWrapperUtil.class, WrapperUtil.class})
//public interface ClueCollectWrapper extends BaseWrapper<ClueCollect, ClueCollectDTO, ClueCollectVO> {
//
//    @Override
//    @Mappings(value = {
//            @Mapping(source = "reportUnitId", target = "reportUnitName", qualifiedByName = ORG_ID_TO_NAME),
//            @Mapping(source = "clueUnitId", target = "clueUnitName", qualifiedByName = ORG_ID_TO_NAME),
//            @Mapping(source = "clueBelongId", target = "clueBelongName", qualifiedByName = ORG_ID_TO_NAME)
//    })
//    ClueCollectVO entityToVO(ClueCollect entity);
//}
